package com.lxmes.base.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lxmes.common.annotation.Excel;
import com.lxmes.common.core.domain.BaseEntity;

/**
 * 物料大类对象 jc_iteminfo_class
 *
 * @author 张志煜
 * @date 2022-11-29
 */
public class JcIteminfoClass extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 分类编号 */
    private Long id;

    /** 公司代码 */
    @Excel(name = "公司代码")
    private String factoryCode;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String factoryName;

    /** 生产线名称 */
    @Excel(name = "生产线名称")
    private String lineName;

    /** 生产线代码 */
    @Excel(name = "生产线代码")
    private String lineId;

    /** 状态 */
    @Excel(name = "状态")
    private String classState;

    /** 分类编码 */
    @Excel(name = "分类编码")
    private String classId;

    /** 分类名称 */
    @Excel(name = "分类名称")
    private String className;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setFactoryCode(String factoryCode)
    {
        this.factoryCode = factoryCode;
    }

    public String getFactoryCode()
    {
        return factoryCode;
    }
    public void setFactoryName(String factoryName)
    {
        this.factoryName = factoryName;
    }

    public String getFactoryName()
    {
        return factoryName;
    }
    public void setLineName(String lineName)
    {
        this.lineName = lineName;
    }

    public String getLineName()
    {
        return lineName;
    }
    public void setLineId(String lineId)
    {
        this.lineId = lineId;
    }

    public String getLineId()
    {
        return lineId;
    }
    public void setClassState(String classState)
    {
        this.classState = classState;
    }

    public String getClassState()
    {
        return classState;
    }
    public void setClassId(String classId)
    {
        this.classId = classId;
    }

    public String getClassId()
    {
        return classId;
    }
    public void setClassName(String className)
    {
        this.className = className;
    }

    public String getClassName()
    {
        return className;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("factoryCode", getFactoryCode())
                .append("factoryName", getFactoryName())
                .append("lineName", getLineName())
                .append("lineId", getLineId())
                .append("classState", getClassState())
                .append("classId", getClassId())
                .append("className", getClassName())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("deptId", getDeptId())
                .toString();
    }
}
